package com.tian.service.impl;

import com.tian.entity.TradeVerifyFileContent;
import com.tian.mapper.TradeVerifyFileContentMapper;
import com.tian.service.TradeVerifyFileContentService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author tianwc  公众号：java后端技术全栈、面试专栏
 * @version 1.0.0
 * @date 2023年08月30日 17:26
 * 在线刷题 1200+题和1000+篇干货文章：<a href="https://woaijava.cc/">博客地址</a>
 */
@Service("tradeVerifyFileContentService")
public class TradeVerifyFileContentServiceImpl implements TradeVerifyFileContentService {
    @Resource
    private TradeVerifyFileContentMapper tradeVerifyFileContentMapper;

    @Override
    public void batchInsert(List<TradeVerifyFileContent> tradeVerifyFileContentList) {
        tradeVerifyFileContentMapper.batchInsert(tradeVerifyFileContentList);
    }

    @Override
    public TradeVerifyFileContent selectByOrderNo(String orderNo) {
        return tradeVerifyFileContentMapper.selectByOrderNo(orderNo);
    }
}
